<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>设计订单-新建</title>
        <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
        <!-- bootstrap 3.0.2 -->
        <link href="../css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <!-- font Awesome -->
        <link href="../css/font-awesome.min.css" rel="stylesheet" type="text/css" />
        <!-- Ionicons -->
        <link href="../css/ionicons.min.css" rel="stylesheet" type="text/css" />
        <!-- Theme style -->
        <link href="../css/AdminLTE.css" rel="stylesheet" type="text/css" />

        <link href="../css/myself.css" rel="stylesheet" type="text/css" />
        <link rel="stylesheet" href="../css/reset.css" />
        <script type="text/javascript" src="../js/jquery.min.js"></script>
        <link type="text/css" href="../css/datepicker/datepicker3.css"/>


        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
    </head>
    <body class="skin-blue">
        <!-- header logo: style can be found in header.less -->
        <header class="header">
            <a href="../../index.html" class="logo">
                <img src="../img/logo_03.jpg"/>
                后台管理系统
            </a>
            <!-- Header Navbar: style can be found in header.less -->
            <nav class="navbar navbar-static-top" role="navigation">
                <div class="navbar-right">
                    <ul class="nav navbar-nav">
                        <!-- Notifications: style can be found in dropdown.less -->
                        <li class="dropdown notifications-menu">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                               设置
                            </a>
                            <ul class="dropdown-menu">
                                <li class="header">You have 10 notifications</li>
                                <li>
                                    <!-- inner menu: contains the actual data -->
                                    <ul class="menu">
                                        <li>
                                            <a href="#">
                                                <i class="ion ion-ios7-people info"></i> 5 new members joined today
                                            </a>
                                        </li>
                                        <li>
                                            <a href="#">
                                                <i class="fa fa-warning danger"></i> Very long description here that may not fit into the page and may cause design problems
                                            </a>
                                        </li>
                                        <li>
                                            <a href="#">
                                                <i class="fa fa-users warning"></i> 5 new members joined
                                            </a>
                                        </li>

                                        <li>
                                            <a href="#">
                                                <i class="ion ion-ios7-cart success"></i> 25 sales made
                                            </a>
                                        </li>
                                        <li>
                                            <a href="#">
                                                <i class="ion ion-ios7-person danger"></i> You changed your username
                                            </a>
                                        </li>
                                    </ul>
                                </li>
                                <li class="footer"><a href="#">View all</a></li>
                            </ul>
                        </li>
                        <!-- Tasks: style can be found in dropdown.less -->
                        <li class="dropdown tasks-menu">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                               姓名
                            </a>
                            <ul class="dropdown-menu">
                                <li class="header">You have 9 tasks</li>
                                <li>
                                    <!-- inner menu: contains the actual data -->
                                    <ul class="menu">
                                        <li><!-- Task item -->
                                            <a href="#">
                                                <h3>
                                                    Design some buttons
                                                    <small class="pull-right">20%</small>
                                                </h3>
                                                <div class="progress xs">
                                                    <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                                                        <span class="sr-only">20% Complete</span>
                                                    </div>
                                                </div>
                                            </a>
                                        </li><!-- end task item -->
                                        <li><!-- Task item -->
                                            <a href="#">
                                                <h3>
                                                    Create a nice theme
                                                    <small class="pull-right">40%</small>
                                                </h3>
                                                <div class="progress xs">
                                                    <div class="progress-bar progress-bar-green" style="width: 40%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                                                        <span class="sr-only">40% Complete</span>
                                                    </div>
                                                </div>
                                            </a>
                                        </li><!-- end task item -->
                                        <li><!-- Task item -->
                                            <a href="#">
                                                <h3>
                                                    Some task I need to do
                                                    <small class="pull-right">60%</small>
                                                </h3>
                                                <div class="progress xs">
                                                    <div class="progress-bar progress-bar-red" style="width: 60%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                                                        <span class="sr-only">60% Complete</span>
                                                    </div>
                                                </div>
                                            </a>
                                        </li><!-- end task item -->
                                        <li><!-- Task item -->
                                            <a href="#">
                                                <h3>
                                                    Make beautiful transitions
                                                    <small class="pull-right">80%</small>
                                                </h3>
                                                <div class="progress xs">
                                                    <div class="progress-bar progress-bar-yellow" style="width: 80%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                                                        <span class="sr-only">80% Complete</span>
                                                    </div>
                                                </div>
                                            </a>
                                        </li><!-- end task item -->
                                    </ul>
                                </li>
                                <li class="footer">
                                    <a href="#">View all tasks</a>
                                </li>
                            </ul>
                        </li>
                        <!-- User Account: style can be found in dropdown.less -->
                        <li class="dropdown user user-menu">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <i class="glyphicon glyphicon-user"></i>
                                <span>Jane Doe <i class="caret"></i></span>
                            </a>
                            <ul class="dropdown-menu">
                                <!-- User image -->
                                <li class="user-header bg-light-blue">
                                    <img src="../../img/avatar3.png" class="img-circle" alt="User Image" />
                                    <p>
                                        Jane Doe - Web Developer
                                        <small>Member since Nov. 2012</small>
                                    </p>
                                </li>
                                <!-- Menu Body -->
                                <li class="user-body">
                                    <div class="col-xs-4 text-center">
                                        <a href="#">Followers</a>
                                    </div>
                                    <div class="col-xs-4 text-center">
                                        <a href="#">Sales</a>
                                    </div>
                                    <div class="col-xs-4 text-center">
                                        <a href="#">Friends</a>
                                    </div>
                                </li>
                                <!-- Menu Footer-->
                                <li class="user-footer">
                                    <div class="pull-left">
                                        <a href="#" class="btn btn-default btn-flat">Profile</a>
                                    </div>
                                    <div class="pull-right">
                                        <a href="#" class="btn btn-default btn-flat">Sign out</a>
                                    </div>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </nav>
        </header>
        <div class="wrapper row-offcanvas row-offcanvas-left">
            <!-- Left side column. contains the logo and sidebar -->
            <aside class="left-side sidebar-offcanvas">
                <!-- sidebar: style can be found in sidebar.less -->
                <section class="sidebar">
                    <!-- sidebar menu: : style can be found in sidebar.less -->
                    <ul class="sidebar-menu">
                        <li>
                            <a href="../../index.html">
                                <i class="iconfont">&#xe6e0;</i> <span>工作台</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        <li class="active">
                            <a  <a href="../html/pages/Design_order.html">
                                <i class="iconfont">&#xe6e1;</i><span>设计订单</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="iconfont">&#xe6e6;</i>
                                <span>打样订单</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="iconfont">&#xe6e2;</i>
                                <span>大货订单</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="iconfont">&#xe6e8;</i> <span>历史订单</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="iconfont">&#xe6e3;</i> <span>客户管理</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        <li>
                            <a href="../calendar.html">
                                <i class="iconfont">&#xe6e4;</i> <span>工厂管理</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        <li>
                            <a href="../mailbox.html">
                                <i class="iconfont">&#xe6e7;</i> <span>设计库</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="iconfont">&#xe6e5;</i> <span>面料库</span>
                                <i class="fa fa-angle-right pull-right"></i>
                            </a>
                        </li>
                    </ul>
                </section>
                <!-- /.sidebar -->
            </aside>

            <!-- Right side column. Contains the navbar and content of the page -->
           <aside class="right-side">
           	<section class="content-header">
                <h1>创建设计订单
                	<!--<small><a href="#">返回</a></small>-->
                </h1>
                <ol class="ol_left">
	                <li>当前位置：</li>
	                <li><a href="#">设计订单</a></li>
	                <li>> 创建设计订单</li>
	            </ol>
            </section>
            <section class="content">
            	<div class="row">
            		<div class="col-md-12">
                        <div class="box">
                            <div class=" center clearfix">
                                <form action="#" method="get">
                                    <table class="table text-center table-bordered   custormView">
                                        <tr>
                                            <td class="col-md-2"><span class="red">*</span>客户名称</td>
                                            <td class="col-md-3">
                                                <div class="input-group">
                                                    <input class="form-control  input1" type="text" ></input>
                                                    <span class="input-group-addon">
                                                        <i class="fa fa-caret-square-o-down"></i>
                                                    </span>
                                                    
                                                </div>
                                                <dl class="dl_down">
                                                    <dd>杭州万达科技</dd>  
                                                    <dd>北京</dd>  
                                                    <dd>上海</dd>   
                                                    <dd>杭州快乐</dd>  
                                                    <dd>杭州万达科技</dd>  
                                                    <dd>杭州万达科技</dd>    
                                                </dl>
                                            </td>
                                            <td class="col-md-2">
                                            </td>
                                            <td class="col-md-5">
                                                
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="col-md-2"><span class="red">*</span>设计截止时间</td>
                                            <td class="col-md-3">
                                                <p class="input-group">
                                                    <input type="text" id="datepicker">
                                                    <i class="fa fa-calendar"></i>
                                                </p>
                                            </td>
                                            <td class="col-md-2">
                                                打样截止日期
                                            </td>
                                            <td class="col-md-5">
                                                <p class="input-group">
                                                    <input type="text" id="datepicker-one">
                                                    <i class="fa fa-calendar"></i>
                                                </p>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="col-md-2"><span class="red">*</span>设计件数</td>
                                            <td class="col-md-3">
                                                2
                                            </td>
                                            <td class="col-md-2">
                                            </td>
                                            <td class="col-md-5">
                                                
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="col-md-2">客户需求</td>
                                            <td class="col-md-3" colspan="3">
                                                <textarea class="form-control textarea1">
                                                    
                                                </textarea>
                                            </td>
                                            
                                        </tr>
                                    </table>
                                </form>
                                <div class="center">
                                    <button class="btn btn-primary ">确定创建</button>
                                    <button class="btn btn-default ">&nbsp;&nbsp;&nbsp;&nbsp;取消&nbsp;&nbsp;&nbsp;&nbsp;</button>
                                </div>
                                <!-- 弹窗？ -->
                                <div class="tc ">
                                    
                                </div>
                                <div class="col-md-4   tc2" >
                                         <div class="col-md-12 text-center bg_color1">
                                                选择客户
                                                <span>
                                                    <i class="fa fa-fw fa-times"></i>
                                                </span>
                                        </div>
                                        <div class="tc3 conter">
                                            <ol class="tc3_ol">
                                                <a href="#a"><li>A</li></a>
                                                <a href="#b"><li>B</li></a>
                                                <a href="#c"><li>C</li></a>
                                                <a href="#d"><li>D</li></a>
                                                <a href="#e"><li>E</li></a>
                                                <a href="#f"><li>F</li></a>
                                                <a href="#g"><li>G</li></a>
                                                <a href="#h"><li>H</li></a>
                                                <a href="#i"><li>I</li></a>
                                                <a href="#j"><li>J</li></a>
                                                <a href="#k"><li>K</li></a>
                                                <a href="#l"><li>L</li></a>
                                                <a href="#m"><li>M</li></a>
                                                <a href="#n"><li>N</li></a>
                                                <a href="#o"><li>O</li></a>
                                                <a href="#p"><li>P</li></a>
                                                <a href="#q"><li>Q</li></a>
                                                <a href="#r"><li>R</li></a>
                                                <a href="#s"><li>S</li></a>
                                                <a href="#t"><li>T</li></a>
                                                <a href="#u"><li>U</li></a>
                                                <a href="#v"><li>V</li></a>
                                                <a href="#w"><li>W</li></a>
                                                <a href="#x"><li>X</li></a>
                                                <a href="#y"><li>Y</li></a>
                                                <a href="#z"><li>Z</li></a>
                                                

                                            </ol>
                                            <dl>
                                                <dt id="a">A</dt>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司22 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>

                                            </dl>
                                            <dl>
                                                <dt id="b">B</dt>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>

                                            </dl>
                                            <dl>
                                                <dt id="c">C</dt>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>

                                            </dl>
                                            <dl>
                                                <dt id="d">D</dt>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>
                                                <dd>北京知乎科技网络有限公司 <i class="fa fa-fw fa-check"></i></dd>

                                            </dl>
                                        </div>

                                        <div class="tc_footer">
                                            <span>取消</span>
                                            <span>确定</span>
                                        </div>
                                </div>
                            </div>
                        </div>
            		</div>
            	</div>
            </section>
            </aside><!-- /.right-side -->
        </div><!-- ./wrapper -->
        <!-- jQuery 2.0.2 -->
        <style type="text/css">
	        .red{
	            color: red;
	        }
	
	        .textarea1{
	            width: 95%;
	            margin: auto;
	            border:1px solid #000;
	        }
	        .dl_down{
	            width: 91%;
	            height: 120px;
	            border:1px solid;
	            position: absolute;
	            z-index: 2;
	            background: #fff;
	            border-top: none;
	            overflow-y: auto;
	            display: none;
	        }
	        .dl_down>dd{
	            width: 100%;
	            text-align: left;
	            line-height: 40px;
	            padding-left: 5%;
	        }
	        .tc{
	            width: 100%;
	            height: 100%;
	            position: fixed;
	            background-color: #000;
	            opacity: .8;
	            top: 0;
	            left: 0;
	            z-index: 3;
	            display: none;
	
	        }
	        .tc2{
	            position: fixed;
	            z-index: 8;
	            background-color: #fff;
	            height: 470px;
	            top: 30%;
	            left: 30%;
	            border:2px solid;
	            opacity: 1;
	            padding: 0;
	            display: none;
	        }
	        .tc2>.col-md-12{
	            height: 40px;
	            line-height: 40px;
	            color: #fff;
	        }
	        .col-md-12>span{
	            float: right;
	        }
	        .bg_color1{
	            background-color: #556377;
	            content: #fff;
	        }
	        .tc3{
	            width: 100%;
	            height: 80%;
	            overflow: auto;
	        }
	        .tc3>dl>dd>i{color: green;float: right;display: none;margin-right: 10%;line-height: 30px;}
	        .tc3>dl{
	            width: 100%;
	        }
	        .tc3>dl>dt{
	            width: 100%;
	            padding-left: 10px;
	            height: 30px;
	            float: left;
	            background-color: #ddd;
	            line-height: 30px;
	            border-bottom: 1px solid #000;
	
	        }
	        .tc3>dl>dd{
	            width: 95%;
	            height: 30px;
	            float: left;
	            line-height: 30px;
	            margin-left: 5%;
	            border-bottom: 1px solid #000;
	
	        }
	        .tc_footer{
	            width: 100%;
	            position: absolute;
	            bottom: 0;
	            height: 40px;
	            line-height: 40px;
	            background-color: #eee;
	            z-index: 9;
	            border-top: 1px solid #d6d6d6;
	        }
	        .tc_footer>span{
	            width: 49%;
	            height: 100%;
	            line-height: 40px;
	            text-align: center;
	            float: left;
	            display: inline-block;
	            cursor: pointer;
	        }
	        .tc_footer>span:first-child{border-right: 1px solid #d6d6d6 ;}
	        .fa-times{cursor: pointer;}
	        .tc3_ol{
	            position: absolute;
	            width: 20px;
	            text-align: center;
	            top: 45px;
	            left: 79%;
	
	        }
	        .tc3_ol li{
	            width: 20px;
	            height: 14px;
	            line-height: 14px;
	        }
	        .tc3_ol>a{
	            color: #000;
	        }
        	/*新增样式*/
    		.ol_left{
	            width: 100%;
	            height: 30px;
	            line-height: 30px;
	            padding: 0;
	        }
	        .ol_left>li{
	            float: left;
	            margin-right: 5px;
	        }
	        .ol_left li, .ol_left{
	        	margin-bottom: 0;
	        }
        </style>
        <script src="../js/jquery.min.js"></script>
        <!-- Bootstrap -->
        <script src="../js/bootstrap.min.js" type="text/javascript"></script>
        <!-- AdminLTE App -->
        <script src="../js/AdminLTE/app.js" type="text/javascript"></script>
        <!-- AdminLTE for demo purposes -->
        <script src="../js/AdminLTE/demo.js" type="text/javascript"></script>   

        <script src="../js/plugins/datepicker/bootstrap-datepicker.js"></script>
        
        <script type="text/javascript">
        
            // 时间选择
            $(function() {
                $( "#datepicker" ).datepicker({
                  showButtonPanel: true
                });
            });
            $(function() {
                $( "#datepicker-one" ).datepicker({
                  showButtonPanel: true
                });
            });

            // 实时监听input？改变内容
            $('.input1').bind('input propertychange',function(){
                $('.dl_down').show();
                $('.dl_down>dd').html($(this).val().length + ' 杭州万达科技');
            });
            $('.dl_down>dd').click(function(){
                $('.input1').val($(this).html());
                $('.dl_down').hide();
            });

            // 点击按钮出现 客户选择？
            $('.input-group-addon').click(function(){
              $('.tc').show();
              $('.tc2').show();
            });

            // 点击X弹窗小时 
            $('.fa-times').click(function(){
                $('.tc').hide();
                $('.tc2').hide();
            });

            // 点击取消 弹窗消失？
             $('.tc_footer>span:first-child').click(function(){
                $('.tc').hide();
                $('.tc2').hide();
            });
             // 点击确定
             $('.tc_footer>span:last-child').click(function(){
                
                $('.input1').val($('.ceshi').text());
                $('.tc').hide();
                $('.tc2').hide();

            });
             // 弹窗选中状态
             $(".tc3>dl>dd").click(function(){
                $(this).find('i').show();
                $(this).siblings().find('i').hide();
                $(this).parent().siblings().find('i').hide();
                $(this).addClass('ceshi');
                $(this).siblings().removeClass('ceshi');
                $(this).parent().siblings().find('dd').removeClass('ceshi');
             });

    </script>
    </body>
</html>
